﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/StockholmsStad.Runtime.Serialization.DataContract" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/StockholmsStad.Runtime.Serialization.DataContract" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/StockholmsStad.Runtime.Serialization.DataContract.Enums" />
  <xs:complexType name="User">
    <xs:sequence>
      <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
      <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/StockholmsStad.Runtime.Serialization.DataContract.Enums" minOccurs="0" name="Role" type="q1:UserRole" />
      <xs:element minOccurs="0" name="UserId" type="xs:int" />
      <xs:element minOccurs="0" name="Username" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="User" nillable="true" type="tns:User" />
  <xs:complexType name="ArrayOfCouple">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Couple" nillable="true" type="tns:Couple" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCouple" nillable="true" type="tns:ArrayOfCouple" />
  <xs:complexType name="Couple">
    <xs:sequence>
      <xs:element minOccurs="0" name="ContactPerson" nillable="true" type="tns:ContactPerson" />
      <xs:element minOccurs="0" name="CoupleId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="Person1" nillable="true" type="tns:Person" />
      <xs:element minOccurs="0" name="Person2" nillable="true" type="tns:Person" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Couple" nillable="true" type="tns:Couple" />
  <xs:complexType name="ContactPerson">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:PersonDetails">
        <xs:sequence>
          <xs:element minOccurs="0" name="Telephone" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ContactPerson" nillable="true" type="tns:ContactPerson" />
  <xs:complexType name="PersonDetails">
    <xs:sequence>
      <xs:element minOccurs="0" name="BirthdayNumber" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="FirstNames" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LastName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="PersonDetails" nillable="true" type="tns:PersonDetails" />
  <xs:complexType name="Person">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:PersonDetails">
        <xs:sequence>
          <xs:element minOccurs="0" name="Address" nillable="true" type="tns:Address" />
          <xs:element minOccurs="0" name="CellPhoneNumber" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Nationality" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="PersonId" type="xs:int" />
          <xs:element minOccurs="0" name="PersonalNumber" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="PhoneNumber" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ProtectedIdentity" type="xs:boolean" />
          <xs:element minOccurs="0" name="Representative" type="xs:boolean" />
          <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/StockholmsStad.Runtime.Serialization.DataContract.Enums" minOccurs="0" name="Sex" nillable="true" type="q2:Sex" />
          <xs:element minOccurs="0" name="SwedishNationality" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Person" nillable="true" type="tns:Person" />
  <xs:complexType name="Address">
    <xs:sequence>
      <xs:element minOccurs="0" name="City" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CoAddress" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Country" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PostCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="StreetAddress" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Address" nillable="true" type="tns:Address" />
  <xs:complexType name="ValueIdPair">
    <xs:sequence>
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Id" type="xs:int" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ValueIdPair" nillable="true" type="tns:ValueIdPair" />
  <xs:complexType name="ArrayOfValueIdPair">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ValueIdPair" nillable="true" type="tns:ValueIdPair" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfValueIdPair" nillable="true" type="tns:ArrayOfValueIdPair" />
  <xs:complexType name="MarriageCertificate">
    <xs:sequence>
      <xs:element minOccurs="0" name="Language" nillable="true" type="tns:ValueIdPair" />
      <xs:element minOccurs="0" name="MarriageCertificateId" nillable="true" type="xs:int" />
      <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/StockholmsStad.Runtime.Serialization.DataContract.Enums" minOccurs="0" name="MarriageCertificateType" type="q3:MarriageCertificateType" />
      <xs:element minOccurs="0" name="ReportDefinition" nillable="true" type="tns:ReportDefinition" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="MarriageCertificate" nillable="true" type="tns:MarriageCertificate" />
  <xs:complexType name="ReportDefinition">
    <xs:sequence>
      <xs:element minOccurs="0" name="AboveDate" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="BelowDate" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="BelowSignature" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="BetweenNames" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="City" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Heading" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Inception" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ReportDefinitionId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="SignLine" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ReportDefinition" nillable="true" type="tns:ReportDefinition" />
  <xs:complexType name="ParVisProperties">
    <xs:sequence>
      <xs:element minOccurs="0" name="ApplicationChangeDateIndividualBookingDays" type="xs:int" />
      <xs:element minOccurs="0" name="ApplicationChangeDateOrdinaryBookingDays" type="xs:int" />
      <xs:element minOccurs="0" name="ImpedimentDocValidMonths" type="xs:int" />
      <xs:element minOccurs="0" name="IndividualImpedimentDocReminderAtDays" type="xs:int" />
      <xs:element minOccurs="0" name="IndividualImpedimentDocRemoveBookingAtDays" type="xs:int" />
      <xs:element minOccurs="0" name="IndividualPreliminaryBookingEarliestDays" type="xs:int" />
      <xs:element minOccurs="0" name="OrdinaryImpedimentDocReminderAtDays" type="xs:int" />
      <xs:element minOccurs="0" name="OrdinaryImpedimentDocRemoveBookingAtDays" type="xs:int" />
      <xs:element minOccurs="0" name="OrdinaryPreliminaryBookingEarliestDays" type="xs:int" />
      <xs:element minOccurs="0" name="ReminderOfDocumentsIndividualBookingDays" type="xs:int" />
      <xs:element minOccurs="0" name="ReminderOfServiceOrdinaryBookingDays" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ParVisProperties" nillable="true" type="tns:ParVisProperties" />
  <xs:complexType name="ArrayOfInformationText">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="InformationText" nillable="true" type="tns:InformationText" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfInformationText" nillable="true" type="tns:ArrayOfInformationText" />
  <xs:complexType name="InformationText">
    <xs:sequence>
      <xs:element minOccurs="0" name="Content" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Header" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TextId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="TextType" nillable="true" type="tns:ValueIdPair" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="InformationText" nillable="true" type="tns:InformationText" />
</xs:schema>